package com.exam.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ExUserExamExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ExUserExamExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUeidIsNull() {
            addCriterion("UEId is null");
            return (Criteria) this;
        }

        public Criteria andUeidIsNotNull() {
            addCriterion("UEId is not null");
            return (Criteria) this;
        }

        public Criteria andUeidEqualTo(Integer value) {
            addCriterion("UEId =", value, "ueid");
            return (Criteria) this;
        }

        public Criteria andUeidNotEqualTo(Integer value) {
            addCriterion("UEId <>", value, "ueid");
            return (Criteria) this;
        }

        public Criteria andUeidGreaterThan(Integer value) {
            addCriterion("UEId >", value, "ueid");
            return (Criteria) this;
        }

        public Criteria andUeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("UEId >=", value, "ueid");
            return (Criteria) this;
        }

        public Criteria andUeidLessThan(Integer value) {
            addCriterion("UEId <", value, "ueid");
            return (Criteria) this;
        }

        public Criteria andUeidLessThanOrEqualTo(Integer value) {
            addCriterion("UEId <=", value, "ueid");
            return (Criteria) this;
        }

        public Criteria andUeidIn(List<Integer> values) {
            addCriterion("UEId in", values, "ueid");
            return (Criteria) this;
        }

        public Criteria andUeidNotIn(List<Integer> values) {
            addCriterion("UEId not in", values, "ueid");
            return (Criteria) this;
        }

        public Criteria andUeidBetween(Integer value1, Integer value2) {
            addCriterion("UEId between", value1, value2, "ueid");
            return (Criteria) this;
        }

        public Criteria andUeidNotBetween(Integer value1, Integer value2) {
            addCriterion("UEId not between", value1, value2, "ueid");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("UserId is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("UserId is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(Integer value) {
            addCriterion("UserId =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(Integer value) {
            addCriterion("UserId <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(Integer value) {
            addCriterion("UserId >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("UserId >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(Integer value) {
            addCriterion("UserId <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(Integer value) {
            addCriterion("UserId <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<Integer> values) {
            addCriterion("UserId in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<Integer> values) {
            addCriterion("UserId not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(Integer value1, Integer value2) {
            addCriterion("UserId between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(Integer value1, Integer value2) {
            addCriterion("UserId not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andExamidIsNull() {
            addCriterion("ExamId is null");
            return (Criteria) this;
        }

        public Criteria andExamidIsNotNull() {
            addCriterion("ExamId is not null");
            return (Criteria) this;
        }

        public Criteria andExamidEqualTo(Integer value) {
            addCriterion("ExamId =", value, "examid");
            return (Criteria) this;
        }

        public Criteria andExamidNotEqualTo(Integer value) {
            addCriterion("ExamId <>", value, "examid");
            return (Criteria) this;
        }

        public Criteria andExamidGreaterThan(Integer value) {
            addCriterion("ExamId >", value, "examid");
            return (Criteria) this;
        }

        public Criteria andExamidGreaterThanOrEqualTo(Integer value) {
            addCriterion("ExamId >=", value, "examid");
            return (Criteria) this;
        }

        public Criteria andExamidLessThan(Integer value) {
            addCriterion("ExamId <", value, "examid");
            return (Criteria) this;
        }

        public Criteria andExamidLessThanOrEqualTo(Integer value) {
            addCriterion("ExamId <=", value, "examid");
            return (Criteria) this;
        }

        public Criteria andExamidIn(List<Integer> values) {
            addCriterion("ExamId in", values, "examid");
            return (Criteria) this;
        }

        public Criteria andExamidNotIn(List<Integer> values) {
            addCriterion("ExamId not in", values, "examid");
            return (Criteria) this;
        }

        public Criteria andExamidBetween(Integer value1, Integer value2) {
            addCriterion("ExamId between", value1, value2, "examid");
            return (Criteria) this;
        }

        public Criteria andExamidNotBetween(Integer value1, Integer value2) {
            addCriterion("ExamId not between", value1, value2, "examid");
            return (Criteria) this;
        }

        public Criteria andPaperidIsNull() {
            addCriterion("PaperId is null");
            return (Criteria) this;
        }

        public Criteria andPaperidIsNotNull() {
            addCriterion("PaperId is not null");
            return (Criteria) this;
        }

        public Criteria andPaperidEqualTo(Integer value) {
            addCriterion("PaperId =", value, "paperid");
            return (Criteria) this;
        }

        public Criteria andPaperidNotEqualTo(Integer value) {
            addCriterion("PaperId <>", value, "paperid");
            return (Criteria) this;
        }

        public Criteria andPaperidGreaterThan(Integer value) {
            addCriterion("PaperId >", value, "paperid");
            return (Criteria) this;
        }

        public Criteria andPaperidGreaterThanOrEqualTo(Integer value) {
            addCriterion("PaperId >=", value, "paperid");
            return (Criteria) this;
        }

        public Criteria andPaperidLessThan(Integer value) {
            addCriterion("PaperId <", value, "paperid");
            return (Criteria) this;
        }

        public Criteria andPaperidLessThanOrEqualTo(Integer value) {
            addCriterion("PaperId <=", value, "paperid");
            return (Criteria) this;
        }

        public Criteria andPaperidIn(List<Integer> values) {
            addCriterion("PaperId in", values, "paperid");
            return (Criteria) this;
        }

        public Criteria andPaperidNotIn(List<Integer> values) {
            addCriterion("PaperId not in", values, "paperid");
            return (Criteria) this;
        }

        public Criteria andPaperidBetween(Integer value1, Integer value2) {
            addCriterion("PaperId between", value1, value2, "paperid");
            return (Criteria) this;
        }

        public Criteria andPaperidNotBetween(Integer value1, Integer value2) {
            addCriterion("PaperId not between", value1, value2, "paperid");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("State is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("State is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(Integer value) {
            addCriterion("State =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(Integer value) {
            addCriterion("State <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(Integer value) {
            addCriterion("State >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("State >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(Integer value) {
            addCriterion("State <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(Integer value) {
            addCriterion("State <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<Integer> values) {
            addCriterion("State in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<Integer> values) {
            addCriterion("State not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(Integer value1, Integer value2) {
            addCriterion("State between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(Integer value1, Integer value2) {
            addCriterion("State not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatepersonIsNull() {
            addCriterion("CreatePerson is null");
            return (Criteria) this;
        }

        public Criteria andCreatepersonIsNotNull() {
            addCriterion("CreatePerson is not null");
            return (Criteria) this;
        }

        public Criteria andCreatepersonEqualTo(String value) {
            addCriterion("CreatePerson =", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonNotEqualTo(String value) {
            addCriterion("CreatePerson <>", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonGreaterThan(String value) {
            addCriterion("CreatePerson >", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonGreaterThanOrEqualTo(String value) {
            addCriterion("CreatePerson >=", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonLessThan(String value) {
            addCriterion("CreatePerson <", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonLessThanOrEqualTo(String value) {
            addCriterion("CreatePerson <=", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonLike(String value) {
            addCriterion("CreatePerson like", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonNotLike(String value) {
            addCriterion("CreatePerson not like", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonIn(List<String> values) {
            addCriterion("CreatePerson in", values, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonNotIn(List<String> values) {
            addCriterion("CreatePerson not in", values, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonBetween(String value1, String value2) {
            addCriterion("CreatePerson between", value1, value2, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonNotBetween(String value1, String value2) {
            addCriterion("CreatePerson not between", value1, value2, "createperson");
            return (Criteria) this;
        }

        public Criteria andScoreIsNull() {
            addCriterion("Score is null");
            return (Criteria) this;
        }

        public Criteria andScoreIsNotNull() {
            addCriterion("Score is not null");
            return (Criteria) this;
        }

        public Criteria andScoreEqualTo(BigDecimal value) {
            addCriterion("Score =", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotEqualTo(BigDecimal value) {
            addCriterion("Score <>", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThan(BigDecimal value) {
            addCriterion("Score >", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("Score >=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThan(BigDecimal value) {
            addCriterion("Score <", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThanOrEqualTo(BigDecimal value) {
            addCriterion("Score <=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreIn(List<BigDecimal> values) {
            addCriterion("Score in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotIn(List<BigDecimal> values) {
            addCriterion("Score not in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("Score between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("Score not between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andSceniclistIsNull() {
            addCriterion("ScenicList is null");
            return (Criteria) this;
        }

        public Criteria andSceniclistIsNotNull() {
            addCriterion("ScenicList is not null");
            return (Criteria) this;
        }

        public Criteria andSceniclistEqualTo(String value) {
            addCriterion("ScenicList =", value, "sceniclist");
            return (Criteria) this;
        }

        public Criteria andSceniclistNotEqualTo(String value) {
            addCriterion("ScenicList <>", value, "sceniclist");
            return (Criteria) this;
        }

        public Criteria andSceniclistGreaterThan(String value) {
            addCriterion("ScenicList >", value, "sceniclist");
            return (Criteria) this;
        }

        public Criteria andSceniclistGreaterThanOrEqualTo(String value) {
            addCriterion("ScenicList >=", value, "sceniclist");
            return (Criteria) this;
        }

        public Criteria andSceniclistLessThan(String value) {
            addCriterion("ScenicList <", value, "sceniclist");
            return (Criteria) this;
        }

        public Criteria andSceniclistLessThanOrEqualTo(String value) {
            addCriterion("ScenicList <=", value, "sceniclist");
            return (Criteria) this;
        }

        public Criteria andSceniclistLike(String value) {
            addCriterion("ScenicList like", value, "sceniclist");
            return (Criteria) this;
        }

        public Criteria andSceniclistNotLike(String value) {
            addCriterion("ScenicList not like", value, "sceniclist");
            return (Criteria) this;
        }

        public Criteria andSceniclistIn(List<String> values) {
            addCriterion("ScenicList in", values, "sceniclist");
            return (Criteria) this;
        }

        public Criteria andSceniclistNotIn(List<String> values) {
            addCriterion("ScenicList not in", values, "sceniclist");
            return (Criteria) this;
        }

        public Criteria andSceniclistBetween(String value1, String value2) {
            addCriterion("ScenicList between", value1, value2, "sceniclist");
            return (Criteria) this;
        }

        public Criteria andSceniclistNotBetween(String value1, String value2) {
            addCriterion("ScenicList not between", value1, value2, "sceniclist");
            return (Criteria) this;
        }

        public Criteria andExamnameIsNull() {
            addCriterion("ExamName is null");
            return (Criteria) this;
        }

        public Criteria andExamnameIsNotNull() {
            addCriterion("ExamName is not null");
            return (Criteria) this;
        }

        public Criteria andExamnameEqualTo(String value) {
            addCriterion("ExamName =", value, "examname");
            return (Criteria) this;
        }

        public Criteria andExamnameNotEqualTo(String value) {
            addCriterion("ExamName <>", value, "examname");
            return (Criteria) this;
        }

        public Criteria andExamnameGreaterThan(String value) {
            addCriterion("ExamName >", value, "examname");
            return (Criteria) this;
        }

        public Criteria andExamnameGreaterThanOrEqualTo(String value) {
            addCriterion("ExamName >=", value, "examname");
            return (Criteria) this;
        }

        public Criteria andExamnameLessThan(String value) {
            addCriterion("ExamName <", value, "examname");
            return (Criteria) this;
        }

        public Criteria andExamnameLessThanOrEqualTo(String value) {
            addCriterion("ExamName <=", value, "examname");
            return (Criteria) this;
        }

        public Criteria andExamnameLike(String value) {
            addCriterion("ExamName like", value, "examname");
            return (Criteria) this;
        }

        public Criteria andExamnameNotLike(String value) {
            addCriterion("ExamName not like", value, "examname");
            return (Criteria) this;
        }

        public Criteria andExamnameIn(List<String> values) {
            addCriterion("ExamName in", values, "examname");
            return (Criteria) this;
        }

        public Criteria andExamnameNotIn(List<String> values) {
            addCriterion("ExamName not in", values, "examname");
            return (Criteria) this;
        }

        public Criteria andExamnameBetween(String value1, String value2) {
            addCriterion("ExamName between", value1, value2, "examname");
            return (Criteria) this;
        }

        public Criteria andExamnameNotBetween(String value1, String value2) {
            addCriterion("ExamName not between", value1, value2, "examname");
            return (Criteria) this;
        }

        public Criteria andIsreexamIsNull() {
            addCriterion("IsReExam is null");
            return (Criteria) this;
        }

        public Criteria andIsreexamIsNotNull() {
            addCriterion("IsReExam is not null");
            return (Criteria) this;
        }

        public Criteria andIsreexamEqualTo(Boolean value) {
            addCriterion("IsReExam =", value, "isreexam");
            return (Criteria) this;
        }

        public Criteria andIsreexamNotEqualTo(Boolean value) {
            addCriterion("IsReExam <>", value, "isreexam");
            return (Criteria) this;
        }

        public Criteria andIsreexamGreaterThan(Boolean value) {
            addCriterion("IsReExam >", value, "isreexam");
            return (Criteria) this;
        }

        public Criteria andIsreexamGreaterThanOrEqualTo(Boolean value) {
            addCriterion("IsReExam >=", value, "isreexam");
            return (Criteria) this;
        }

        public Criteria andIsreexamLessThan(Boolean value) {
            addCriterion("IsReExam <", value, "isreexam");
            return (Criteria) this;
        }

        public Criteria andIsreexamLessThanOrEqualTo(Boolean value) {
            addCriterion("IsReExam <=", value, "isreexam");
            return (Criteria) this;
        }

        public Criteria andIsreexamIn(List<Boolean> values) {
            addCriterion("IsReExam in", values, "isreexam");
            return (Criteria) this;
        }

        public Criteria andIsreexamNotIn(List<Boolean> values) {
            addCriterion("IsReExam not in", values, "isreexam");
            return (Criteria) this;
        }

        public Criteria andIsreexamBetween(Boolean value1, Boolean value2) {
            addCriterion("IsReExam between", value1, value2, "isreexam");
            return (Criteria) this;
        }

        public Criteria andIsreexamNotBetween(Boolean value1, Boolean value2) {
            addCriterion("IsReExam not between", value1, value2, "isreexam");
            return (Criteria) this;
        }

        public Criteria andExamineenumberIsNull() {
            addCriterion("ExamineeNumber is null");
            return (Criteria) this;
        }

        public Criteria andExamineenumberIsNotNull() {
            addCriterion("ExamineeNumber is not null");
            return (Criteria) this;
        }

        public Criteria andExamineenumberEqualTo(String value) {
            addCriterion("ExamineeNumber =", value, "examineenumber");
            return (Criteria) this;
        }

        public Criteria andExamineenumberNotEqualTo(String value) {
            addCriterion("ExamineeNumber <>", value, "examineenumber");
            return (Criteria) this;
        }

        public Criteria andExamineenumberGreaterThan(String value) {
            addCriterion("ExamineeNumber >", value, "examineenumber");
            return (Criteria) this;
        }

        public Criteria andExamineenumberGreaterThanOrEqualTo(String value) {
            addCriterion("ExamineeNumber >=", value, "examineenumber");
            return (Criteria) this;
        }

        public Criteria andExamineenumberLessThan(String value) {
            addCriterion("ExamineeNumber <", value, "examineenumber");
            return (Criteria) this;
        }

        public Criteria andExamineenumberLessThanOrEqualTo(String value) {
            addCriterion("ExamineeNumber <=", value, "examineenumber");
            return (Criteria) this;
        }

        public Criteria andExamineenumberLike(String value) {
            addCriterion("ExamineeNumber like", value, "examineenumber");
            return (Criteria) this;
        }

        public Criteria andExamineenumberNotLike(String value) {
            addCriterion("ExamineeNumber not like", value, "examineenumber");
            return (Criteria) this;
        }

        public Criteria andExamineenumberIn(List<String> values) {
            addCriterion("ExamineeNumber in", values, "examineenumber");
            return (Criteria) this;
        }

        public Criteria andExamineenumberNotIn(List<String> values) {
            addCriterion("ExamineeNumber not in", values, "examineenumber");
            return (Criteria) this;
        }

        public Criteria andExamineenumberBetween(String value1, String value2) {
            addCriterion("ExamineeNumber between", value1, value2, "examineenumber");
            return (Criteria) this;
        }

        public Criteria andExamineenumberNotBetween(String value1, String value2) {
            addCriterion("ExamineeNumber not between", value1, value2, "examineenumber");
            return (Criteria) this;
        }

        public Criteria andHadcreatetempIsNull() {
            addCriterion("HadCreateTemp is null");
            return (Criteria) this;
        }

        public Criteria andHadcreatetempIsNotNull() {
            addCriterion("HadCreateTemp is not null");
            return (Criteria) this;
        }

        public Criteria andHadcreatetempEqualTo(Integer value) {
            addCriterion("HadCreateTemp =", value, "hadcreatetemp");
            return (Criteria) this;
        }

        public Criteria andHadcreatetempNotEqualTo(Integer value) {
            addCriterion("HadCreateTemp <>", value, "hadcreatetemp");
            return (Criteria) this;
        }

        public Criteria andHadcreatetempGreaterThan(Integer value) {
            addCriterion("HadCreateTemp >", value, "hadcreatetemp");
            return (Criteria) this;
        }

        public Criteria andHadcreatetempGreaterThanOrEqualTo(Integer value) {
            addCriterion("HadCreateTemp >=", value, "hadcreatetemp");
            return (Criteria) this;
        }

        public Criteria andHadcreatetempLessThan(Integer value) {
            addCriterion("HadCreateTemp <", value, "hadcreatetemp");
            return (Criteria) this;
        }

        public Criteria andHadcreatetempLessThanOrEqualTo(Integer value) {
            addCriterion("HadCreateTemp <=", value, "hadcreatetemp");
            return (Criteria) this;
        }

        public Criteria andHadcreatetempIn(List<Integer> values) {
            addCriterion("HadCreateTemp in", values, "hadcreatetemp");
            return (Criteria) this;
        }

        public Criteria andHadcreatetempNotIn(List<Integer> values) {
            addCriterion("HadCreateTemp not in", values, "hadcreatetemp");
            return (Criteria) this;
        }

        public Criteria andHadcreatetempBetween(Integer value1, Integer value2) {
            addCriterion("HadCreateTemp between", value1, value2, "hadcreatetemp");
            return (Criteria) this;
        }

        public Criteria andHadcreatetempNotBetween(Integer value1, Integer value2) {
            addCriterion("HadCreateTemp not between", value1, value2, "hadcreatetemp");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}